/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: Fields.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.baselib.constant;


public class Fields {
    /**
     * 请求时携带的参数
     */
    public static final String PARAM_VERSION = "appVersion";
    public static final String PARAM_APP = "app";
    public static final String PARAM_PROTOCOL_VERSION = "protocol-Version";
    public static final String PARAM_IMEI = "imei";
    public static final String PARAM_PLATFORM = "osVersion";
    public static final String DEVICE_PARAM_OS = "osType";        //	dOS 操作系统版
    public static final String PARAM_MODEL = "agent";
    public static final String PARAM_LAT = "lat";
    public static final String PARAM_LON = "lon";
    public static final String PARAM_SCREEN_SIZE = "screensize";
    public static final String PARAM_CHANNEL = "channel";
    public static final String PARAM_APPID = "appId";
    public static final String PARAM_DEVICENO = "_deviceNumber";
    public static final String PARAM_IMSI = "imsi";
    public static final String PARAM_NETT = "nett";
    public static final String PARAM_UID = "userId";
    public static final String PARAM_LBS = "lbs";
    public static final String PARAM_LANGUAGE = "Accept-Language";


    public static final String DEVICE_PARAM_APP_VERSION = "appVersion";    //	应用版本
    public static final String DEVICE_PARAM_DNAME = "dName";        //	dName 设备名称
    public static final String DEVICE_PARAM_CHANNEL = "channel";        //	channel 应用渠道
    public static final String DEVICE_PARAM_DIMEI = "dIMEI";        //	dIMEI 手机IMEI
    public static final String DEVICE_PARAM_DID = "dID";        //	dID 手机设备ID
    public static final String DEVICE_PARAM_DWM = "dWM";        //	dWM 手机无线mac地址
    public static final String DEVICE_PARAM_DSERIAL = "dSerial";        //	dSerial 序列号
    public static final String DEVICE_PARAM_DBA = "dBA";        //	dBA 蓝牙地址
    public static final String DEVICE_PARAM_IP = "remote_address";        //	remote_address 用户ip地址
    public static final String DEVICE_PARAM_WE = "WE";        //	WE 网络环境
    public static final String DEVICE_PARAM_OPERATOR = "operator";        //	operator 运营商
    public static final String FIELD_SID = "sId";//唯一号
    public static final String FIELD_APPKEY = "appKey";//APP 区分 Android
    public static final String FIELD_APPKEY_DEFAULT_VALUE = "android";//APP 区分 Android
    public static final String FIEDL_APP_ID = "appId";//App id
    public static final String FIEDL_USER_ID = "userId";//用户ID
    public static final String FIELD_ACCOUNT_ID = "account_id";//子账户ID
    public static final String FIELD_ORDER_ID_PAGE = "order_id";//分页数据最后一条订单id
    public static final String FIELD_TRADE_ID_PAGE = "trader_id";//分页数据最后一条订单id
    public static final String FIELD_ORDER_ID_PAGE_FROM = "from_order_id";//分页数据from_order_id 查询 order_id < from_order_id 的数据
    public static final String FIELD_ORDER_ID_PAGE_END = "end_order_id";//分页数据最后一条订单id  查询 order_id > end_order_id 的数据，如果给定end_order_id去查询，end_order_id不能为0
    public static final String FIELD_BALANCE_ID_PAGE_FROM = "from_balance_id";//分页数据from_order_id 查询 order_id < from_order_id 的数据
    public static final String FIELD_BALANCE_ID_PAGE_END = "end_balance_id";//分页数据最后一条订单id  查询 order_id > end_order_id 的数据，如果给定end_order_id去查询，end_order_id不能为0
    public static final String FIELD_TRADE_ID_PAGE_FROM = "from_balance_id";//分页数据from_order_id 查询 order_id < from_order_id 的数据
    public static final String FIELD_TRADE_ID_PAGE_END = "end_balance_id";//分页数据最后一条订单id  查询 order_id > end_order_id 的数据，如果给定end_order_id去查询，end_order_id不能为0
    public static final String FIELD_SETTLEMENT_ID_PAGE_FROM = "from_settlement_id";
    public static final String FIELD_SETTLEMENT_ID_PAGE_END = "end_settlement_id";

    public static final String FIELD_SYMBOL = "symbol";//币种
    public static final String FIELD_SYMBOL_ID = "symbol_id";//币种id
    public static final String FIELD_EXCHANGE_ID = "exchangeId";//交易所id
    public static final String FIELD_EXCHANGE_ID2 = "exchange_id";//交易所id
    public static final String FIELD_CLIENT_ORDER_ID = "client_order_id";//客户端订单Id
    public static final String FIELD_SIDE = "side";//订单方向，参数：buy=买 sell=卖
    public static final String FIELD_TYPE = "type";//订单类型，参数：limit=限价 market=市价
    public static final String FIELD_PRICE = "price";//交易价格
    public static final String FIELD_QUANTITY = "quantity";//交易数量
    public static final String FIELD_LIMIT = "limit";//条数
    public static final String FIELD_IS_GO_SELECT_COINPAIR = "selectcoinpair";//去选择币种
    public static final String FIELD_INTERVAL = "interval";//时间间隔(分钟=1m,5m,15m,30m； 小时=1h； 天=1d； 周=1w； 月=1M；
    public static final String FIELD_FROM= "from";//开始时间
    public static final String FIELD_TO= "to";//结束时间
    public static final String FIELD_START_TIME= "start_time";//开始时间
    public static final String FIELD_END_TIME= "end_time";//结束时间

    public static final String FIELD_EAMIL = "email";   //账户名 邮箱
    public static final String FIELD_MOILE = "mobile";   //账户名 手机号
    public static final String FIELD_MOILE_CODE = "country_code";   //国家手机区号
    public static final String FIELD_PASSWORD = "password";   //密码
    public static final String FIELD_COUNTRY_CODE = "national_code";   //国家码
    public static final String FIELD_PASSWORD1 = "password1";   //密码
    public static final String FIELD_PASSWORD2 = "password2";   //密码
    public static final String FIELD_VERIFY_CODE = "verify_code";   //密码
    public static final String FIELD_INVITE_CODE = "invite_code";   //密码
    public static final String FIELD_ORDER_ID = "order_id";   //请求验证码返回的order_id
    public static final String FIELD_PACK = "pack";   //密码
    public static final int REQUEST_CODE_SIGN_UP = 0x10;//注册请求
    public static final int REQUEST_CODE_LOGIN = 0x11;//登录请求
    public static final int REQUEST_CODE_FIND = 0x12;//登录请求
    public static final int REQUEST_CODE_BIND = 0x13;//绑定手机
    public static final int REQUEST_CODE_AUTH = 0x14;//认证
    public static final int REQUEST_CODE_REGISTER_FROM_LOGIN = 0x15;
    public static final int REQUEST_CODE_VERIFY = 0X001;
    public static final int REQUEST_CODE_TWO_VERIFY = 0X002;

    public static final String INTENT_MOBILE_CODE = "mobileCode";//手机区号传值key
    public static final String SYMBOL_SOCKET_TYPE = "ticker";//信息类型，目前只支持1种
    public static final String KLINE_TYPE_DEFAULT_PARAM = "15m";
    public static final String FIELD_TOKEN_ID = "token_id";
    public static final String FIELD_WITHDRAW_ORDER_ID = "withdraw_order_id";
    public static final String FIELD_ADDRESS = "address";
    public static final String FIELD_COUNTRY_PARAM_TYPE = "type";//默认为1，注册和登录的时候选择国家列表。2 用户实名的时候选取国籍列表
    public static final String FIELD_COUNTRY_PARAM_TYPE_AREA_CODE = "area_code";//类型——手机（注册、修改密码、绑定验证码）
    public static final String FIELD_COUNTRY_PARAM_TYPE_NATIONALITY = "nationality";//类型——KYC国家名单拆分
    public static final String COUNTRIES_AREA_CODE = "for_area_code";   //手机（注册、修改密码、绑定验证码）
    public static final String COUNTRIES_NATIONALITY = "for_nationality";   //KYC国家名单拆分

    public static final String FIELD_TABNAME = "tabname";
    public static final String FIELD_SYMBOL_IDS = "symbol_ids";
    public static final String FIELD_CHAIN_TYPE = "chain_type"; //链类型，USDT默认是OMNI
    public static final String FIELD_ORG = "org";
}
